From d28d674a6658b7467a1f97af450acb8141da6629 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 6 Jul 2005 03:45:13 +0000 Subject: [PATCH] Add some additional docs on precision. (#309238, Steve Chaplin) 2005-07-05 Matthias Clasen * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some additional docs on precision. (#309238, Steve Chaplin) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtkspinbutton.c | 6 +++++- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d420649543..0bd5eb5435 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-07-05 Matthias Clasen + * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some + additional docs on precision. (#309238, Steve Chaplin) + * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO) 2005-07-05 Matthias Clasen diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d420649543..0bd5eb5435 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-07-05 Matthias Clasen + * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some + additional docs on precision. (#309238, Steve Chaplin) + * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO) 2005-07-05 Matthias Clasen diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d420649543..0bd5eb5435 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-07-05 Matthias Clasen + * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some + additional docs on precision. (#309238, Steve Chaplin) + * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO) 2005-07-05 Matthias Clasen diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index fe7ec9c4cb..327dde776b 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -1597,7 +1597,11 @@ gtk_spin_button_new (GtkAdjustment *adjustment, * #GtkSpinButton without manually creating an adjustment. The value is * initially set to the minimum value and a page increment of 10 * @step * is the default. The precision of the spin button is equivalent to the - * precision of @step. + * precision of @step. + * + * Note that the way in which the precision is derived works best if @step + * is a power of ten. If the resulting precision is not suitable for your + * needs, use gtk_spin_button_set_digits() to correct it. * * Return value: The new spin button as a #GtkWidget. **/ -- 2.30.2